package com.algorithm.search;

/**
 * @program: study
 * @className: ThreadLocalTest
 * @description: TODO
 * @author: kukuxiahuni
 * @create: 2020-01-17 15:00
 * @version: v1.0
 **/
public class ThreadLocalTest {

    /**
     * 功能描述: TODO
     * @param: 
     * @return: 
     * @auther: kukuxiahuni
     * @date: 2020/1/19 11:12 上午
     * @modify_auther: kukuxiahuni
     * @modify_time: 2020/1/19 11:12 上午
     **/
    public static void main(String[] args) {
        ThreadLocal<String> threadLocal = new ThreadLocal<>();
        for (int i = 0; i < 20; ++i) {
            threadLocal.set("fafa" + i);
        }
        System.out.println(threadLocal.get());
    }
}